package com.ydgk.service;

import com.ydgk.bean.Furniture;

import java.util.List;
import java.util.Map;

public interface FurnitureService {
    int insert(Furniture furniture);
    List<Furniture> findAll(Map<String, Object> factorMap);
    int findAllCount(Map<String, Object> factorMap);
    Furniture findById(int fid);
    int deleteById(int fid);
    void setCondition(int fid,int val);
    int updateById(Furniture furniture);
}
